package com.gzsxy.dao;

import com.gzsxy.entity.TPermission;
import com.gzsxy.entity.TUser;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserDao {


    TUser findByUsername(String username);

    List<TPermission> findPermissionByUsername(String username);
}
